/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package cafeinatpv;

/**
 *
 * @author sempere
 */
public class LinProducto implements LinVenta {

    public String cod;
    public int cant;

    public LinProducto(String cod, int cant) {
        this.cod = cod;
        this.cant = cant;
    }

    public String getCod() {
        return cod;
    }

    public int getCant() {
        return cant;
    }

    @Override
    public String toString() {
        return ("Codigo: " + cod + " \tCantidad: " + cant);
    }
}
